RJ45 specified the entire interface (ie which wires did what), not just the connector.
The “what” was of course not Ethernet.