Fluctuation relations in small systems: exact results from the deterministic approach