However, Rome discovered the agreement when Philip's emissaries were captured by a Roman fleet